<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
	<style>
		body,p{
			margin: 0;
		}
		.ticket{
			width: 15rem;
			margin: 10rem auto;
			background-color: #fff;
			outline:1px solid #000;
			font-size: 2rem;
		}
		.price{
			padding: 0.5rem;
			color:  #E71D36;	/*相同的样式也可以设置在父元素上*/
			font-weight: bolder;
			border: 14px solid transparent;
			-webkit-border-image: url(img/border.png) 0 0 14 round;
			/* Safari and Chrome */
			border-image: url(img/border.png) 0 0 14 round;
			border-top: 0;
			border-left: 0;
			border-right: 0;
		}
		.price-num{
			font-size: 5rem;
		}
		.price-num::first-letter{
			font-size: 0.8rem;
		}
		
		.require{
			padding: 1rem;
			background-color: rgb(245, 245, 245);	/*背景必须设置在父元素上*/
		}
		.require>span{
			color: rgb(83, 83, 83);
		}
		.more{
			padding: 0.5rem;
			background-color: #E71D36;
		}
		.more>span{
			color: #fff;
		}
	</style>
</head>
<body>
	<div class="ticket">
		<div class="price">
			<p class="price-num">￥2000</p>
			<p class="price-cont">仅可购买奢饰品指定商品</p>
		</div>
		<p class="require">
			<span>消费满6000元可用</span>
		</p>
		<p class="more">
			<span>更多服饰箱包卷</span>
		</p>
	</div>
</body>
</html>